import request from '@/utils/request';

export function addKillGoods(data) {
	return request({
		url: '/mall/pc/kill/add',
		method: 'post',
		data,
	});
}

export function editKillGoods(data) {
	return request({
		url: '/mall/pc/kill/edit',
		method: 'post',
		data,
	});
}
export function delKillGoods(data) {
	return request({
		url: '/mall/pc/kill/remove',
		method: 'post',
		data,
	});
}
export function getKillGoodsList(data) {
	return request({
		url: '/mall/pc/kill/getPCList',
		method: 'post',
		data,
	});
}
export function getKillGoodsDetails(params) {
	return request({
		url: '/mall/pc/kill/getPCDetails',
		method: 'get',
		params,
	});
}
